package net.zjitc.common;

import java.lang.ref.SoftReference;

/**
 * @Author admin
 * @Date 2019/4/2 9:14
 */
public enum ResponseCode {
    SUCCESS(0,"SUCCESS"),
    ERROR(0,"ERROR"),
    ILLEGAL_ARGUMENT(0,"ILLEGAL_ARGUMENT");
    private final int status;
    private final String name;

    public int getStatus() {
        return status;
    }

    public String getName() {
        return name;
    }

    ResponseCode(int status, String name) {
        this.status = status;
        this.name = name;
    }

}
